package com.jiangxfei.mymvp.di.component;

import com.jiangxfei.mymvp.app.home.component.HomeActivityComponent;
import com.jiangxfei.mymvp.app.home.module.HomeActivityModule;
import com.jiangxfei.mymvp.di.module.AppModule;
import com.jiangxfei.mymvp.di.module.OkHttpModule;
import com.jiangxfei.mymvp.di.module.RepositoryManagerModule;
import com.jiangxfei.mymvp.di.module.RetrofitModule;

import javax.inject.Singleton;

import dagger.Component;

//
@Singleton
@Component(modules = {
        AppModule.class,
        OkHttpModule.class,
        RetrofitModule.class,
        RepositoryManagerModule.class
})
public interface AppComponent {
    HomeActivityComponent addSub(HomeActivityModule homeActivityModule);
}
